class MyRunnable2 implements Runnable{
	public void run()
	{
		for(int i=0;i<100;i++)
		{
			System.out.println("$");
			try
			{
				Thread.sleep(50);
			}
		  catch(InterruptedException e)
			{
			  e.printStackTrace();
			}
		}
	}
}

